package com.model;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * Created by chaiyuan on 2017/5/7.
 */
public class UserProject extends Model<UserProject> {
public static final UserProject dao = new UserProject();
public Student getStudent(){
    return Student.dao.findById(get("student_id"));
}
public  Project getProject(){
    return Project.dao.findById(get("project_id"));

}

 }
